package packing;

import geometric3D.BoxShape;
import geometric3D.Point;

public class EmptySpace extends BoxShape {



	Point position;
	
	
	public Point getPosition() {
		return position;
	}
	public void setPosition(Point position) {
		this.position = position;
	}
//	public EmptySpace(int width, int length, int height) {
//		super(width, length, height);
//
//	}
	public EmptySpace(Point position,int width, int length, int height ) {
		super(width, length, height);
		this.position = position;
	}
	
//	public EmptySpace(XYRectangle xyRectangle, int height){
//		super(xyRectangle.getXSize(), xyRectangle.getYSize(),height );
//		this.position = xyRectangle.getPosition();
//		
//		
//	}
//	public EmptySpace(XZRectangle xzRectangle, int length){
//		super(xzRectangle.getXSize(),length , xzRectangle.getZSize());
//		this.position = xzRectangle.getPosition();
//		
//		
//	}
	@Override
	public String toString() {
//		return "EmptySpace [position=" + position + ", width=" + width
//				+ ", length=" + length + ", height=" + height + "]\n";
		return "EmptySpace ตำแหน่งที่ = ( " + position + " ), กว้าง =" + width
				+ ", ยาว =" + length + ", สูง =" + height + "\n";
	}
	

}
